<div class="box white_bg box_margin">
<link rel="stylesheet" href="/public/themes/hard/css/navigationTab.css" type="text/css">
<br/>
<ul  class="navigationTab">
<li name="edit"> <a href="<?=$this->hvnUrl(array('type' => $this->viewParams['nodeType'], 'action' => 'edit'), "node")?>?id=<?=$this->viewParams['id']?>"> <?=t(91) ?> </a> </li>
<? if ($this->viewParams['nodeType'] == "news" || $this->viewParams['nodeType'] == "blog" || $this->viewParams['nodeType'] == "promotion") :?>
<li name="gallery"> <a href="<?=$this->hvnUrl(array('type' => $this->viewParams['nodeType'], 'action' => 'gallery'), "node")?>?id=<?=$this->viewParams['id']?>"> <?=t(6) ?> </a> </li>
<?endif?>
<li name="thumbnail"> <a href="<?=$this->hvnUrl(array('type' => $this->viewParams['nodeType'], 'action' => 'thumbnail'), "node")?>?id=<?=$this->viewParams['id']?>"> <?=t(4000) ?> </a> </li>
<li name="view"> <a target="_blank" href="<?=$this->hvnUrl(array('type' => $this->viewParams['nodeType'], 'action' => 'view'), "node")?>?id=<?=$this->viewParams['id']?>"> <?=t(134) ?> </a> </li>
</ul>

<?
	$sess = new Zend_Session_Namespace(CLU_NS);
	$tmp = explode('/', $sess->masterRequest);
	$currentTab = $tmp[2];
?>
<script type="text/javascript" charset="utf-8">
 jQuery(document).ready(function(){
		$(".navigationTab li[name=<?=$currentTab?>]").addClass("selected");
	});
	
</script>


</div>